import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'normalize.css'// 导入样式包
import '@/styles/common.less'// 导入公共样式
import componentPlugin from '@/components'
import directivePlugin from '@/directives' // 图片懒加载
// 创建一个vue应用实例
// createApp(App).use(store).use(router).mount('#app')
// createApp(App).use(store).use(router).use(componentPlugin).mount('#app')
createApp(App).use(componentPlugin).use(directivePlugin).use(store).use(router).mount('#app')
